package model

import "time"

// MaasHostToMachine 宿主机与机器关联表
type MaasHostToMachine struct {
	Id        uint64     `gorm:"primary_key" json:"id"`
	HostId    uint64     `gorm:"column:host_id" json:"host_id"`       //宿主机id
	MachineId uint64     `gorm:"column:machine_id" json:"machine_id"` //机器id
	CreatedAt time.Time  `gorm:"column:created_at" json:"created_at"` //创建时间
	UpdatedAt time.Time  `gorm:"column:updated_at" json:"updated_at"` //更新时间
	DeletedAt *time.Time `gorm:"column:deleted_at" json:"deleted_at"` //删除时间
}
